package com.library;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@MapperScan("com.library.mapper")
@EnableScheduling
public class LibraryManagementApplication {

    public static void main(String[] args) {
        SpringApplication.run(LibraryManagementApplication.class, args);
        System.out.println("========================================");
        System.out.println("📚 图书管理系统启动成功！");
        System.out.println("📖 Swagger文档: http://localhost:8080/api/swagger-ui.html");
        System.out.println("========================================");
    }
}

